<?php
namespace App\Mall\Dto;

use Mine\Interfaces\MineModelExcel;
use Mine\Annotation\ExcelData;
use Mine\Annotation\ExcelProperty;

/**
 * 商品规格Dto （导入导出）
 */
#[ExcelData]
class MallGoodsSpecDto implements MineModelExcel
{
    #[ExcelProperty(value: "主键", index: 0)]
    public string $id;

    #[ExcelProperty(value: "规格", index: 1)]
    public string $name;

    #[ExcelProperty(value: "image", index: 2)]
    public string $image;

    #[ExcelProperty(value: "is_default", index: 3)]
    public string $is_default;

    #[ExcelProperty(value: "goods_id", index: 4)]
    public string $goods_id;

    #[ExcelProperty(value: "库存", index: 5)]
    public string $stock;

    #[ExcelProperty(value: "卖出数", index: 6)]
    public string $sells;

    #[ExcelProperty(value: "退货数", index: 7)]
    public string $return;


}